<%= form_for [:shop, @settle], html: { class: "card" } do |f| %>
  <div class="card-body">
    <h3 class="card-title">
      <%= @settle.new_record? ? "申请结算" : "修改结算" %>
    </h3>
    <div class="row">
      <div class="col-md-4">
        <div class="form-group">
          <label class="form-label">结算金额</label>
          <%= f.number_field :fee, class: "form-control", min: "1" %>
        </div>
      </div>
      <div class="col-md-12">
        <div class="form-group">
          <label class="form-label">结算备注</label>
          <%= f.text_field :remark, class: "form-control" %>
        </div>
      </div>
    </div>
  </div>
  <div class="card-footer text-right">
    <%= f.submit "保 存", class: "btn btn-primary" %>
  </div>
<% end %>